package com.utils;

import cn.hutool.core.bean.BeanUtil;

import java.util.Map;

/**
 * @author CKC
 * @date 2022/12/1 16:48
 */
public class UtilsTestDomo {

    public static void main(String[] args) {
        User user = new User("ckc", "1234", 12);
        Map<String, Object> stringObjectMap = BeanUtil.beanToMap(user);
        System.out.println(user);
        System.out.println(stringObjectMap);
    }


}
